<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Document</title>
  <style>
    *{
      padding: 0;
      margin: 0;
      list-style: none;
    }
    ul{
      display: flex;
      gap: 10px;
      width: auto;
      height: 100px;
      background: red;
      line-height: 100px;
      border-collapse: collapse;
    }
    li{
      flex: 0 0 auto;
      background: yellow;
      text-align: center;
      border: 1px solid #333;
      border-collapse: collapse;
    }
  </style>
</head>

<body>
  <ul>
    <li>1 家实力坑爹 萨达</li>
    <li>2 yellow</li>
    <li>3 阿斯加德卡拉卡视角狄拉克</li>
    <li> 阿萨德萨达所4</li>
    <li>5现场女子UK和创建开箱子狂欢节趁现在</li>
    <li>6阿萨德机动奥拉卡视角了看</li>
  </ul>
</body>

</html>